import 'package:json_annotation/json_annotation.dart';

part 'artist_info.g.dart';

@JsonSerializable()
class ArtistInfo {
  final String? id;
  final String? name;
  final String? pic;
  final String? stageName;
  final String? birthday;
  final String? note;
  final String? labelIds;

  const ArtistInfo({
    this.id,
    this.name,
    this.pic,
    this.stageName,
    this.birthday,
    this.note,
    this.labelIds,
  });

  factory ArtistInfo.fromJson(Map<String, dynamic> json) =>
      _$ArtistInfoFromJson(json);

  Map<String, dynamic> toJson() => _$ArtistInfoToJson(this);
}
